package com.dldata.devtools30.entity;

import jakarta.persistence.*;

import java.sql.Timestamp;

/**
 * Created by 呵呵 on 2017-09-23.
 */
@Entity
@Table(name = "devt_form_listtemplate")
public class DevtFormListtemplateEntity {
    private String id;
    private String formId;
    private String name;
    private Integer active;
    private Timestamp createTime;
    private String temlplesql;
    private String temlplelables;
    private Integer status;
    private Integer xh;
    private Integer standard;
    private Integer pageflag;
    private Long stytle;
    private String thconf;
    private String thcolconf;
    private String importconf;
    private String sqltype;
    private String flid;
    private  String bz;
    
    @Basic
    @Column(name = "importconf", nullable = true, insertable = true, updatable = true, length = 64)
    public String getImportconf() {
        return importconf;
    }

    public void setImportconf(String importconf) {
        this.importconf = importconf;
    }
    @Basic
    @Column(name = "sqltype", nullable = true, insertable = true, updatable = true, length = 64)
    public String getSqltype() {
        return sqltype;
    }

    public void setSqltype(String sqltype) {
        this.sqltype = sqltype;
    }
    @Basic
    @Column(name = "flid", nullable = true, insertable = true, updatable = true, length = 64)
    public String getFlid() {
        return flid;
    }

    public void setFlid(String flid) {
        this.flid = flid;
    }
    @Basic
    @Column(name = "bz", nullable = true, insertable = true, updatable = true, length = 1024)
    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    @Id
    @Column(name = "ID", nullable = false, insertable = true, updatable = true, length = 64)
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "FORM_ID", nullable = true, insertable = true, updatable = true, length = 64)
    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    @Basic
    @Column(name = "NAME", nullable = true, insertable = true, updatable = true, length = 100)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Basic
    @Column(name = "ACTIVE", nullable = true, insertable = true, updatable = true, precision = 0)
    public Integer getActive() {
        return active;
    }

    public void setActive(Integer active) {
        this.active = active;
    }

    @Basic
    @Column(name = "CREATE_TIME", nullable = true, insertable = true, updatable = true)
    public Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "TEMLPLESQL", nullable = true, insertable = true, updatable = true, length = 1024)
    public String getTemlplesql() {
        return temlplesql;
    }

    public void setTemlplesql(String temlplesql) {
        this.temlplesql = temlplesql;
    }

    @Basic
    @Column(name = "TEMLPLELABLES", nullable = true, insertable = true, updatable = true, length = 1024)
    public String getTemlplelables() {
        return temlplelables;
    }

    public void setTemlplelables(String temlplelables) {
        this.temlplelables = temlplelables;
    }

    @Basic
    @Column(name = "STATUS", nullable = true, insertable = true, updatable = true, precision = 0)
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Basic
    @Column(name = "XH", nullable = true, insertable = true, updatable = true)
    public Integer getXh() {
        return xh;
    }

    public void setXh(Integer xh) {
        this.xh = xh;
    }

    @Basic
    @Column(name = "STANDARD", nullable = true, insertable = true, updatable = true, precision = 0)
    public Integer getStandard() {
        return standard;
    }

    public void setStandard(Integer standard) {
        this.standard = standard;
    }

    @Basic
    @Column(name = "PAGEFLAG", nullable = true, insertable = true, updatable = true, precision = 0)
    public Integer getPageflag() {
        return pageflag;
    }

    public void setPageflag(Integer pageflag) {
        this.pageflag = pageflag;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        DevtFormListtemplateEntity that = (DevtFormListtemplateEntity) o;

        if (id != null ? !id.equals(that.id) : that.id != null) return false;
        if (formId != null ? !formId.equals(that.formId) : that.formId != null) return false;
        if (name != null ? !name.equals(that.name) : that.name != null) return false;
        if (active != null ? !active.equals(that.active) : that.active != null) return false;
        if (createTime != null ? !createTime.equals(that.createTime) : that.createTime != null) return false;
        if (temlplesql != null ? !temlplesql.equals(that.temlplesql) : that.temlplesql != null) return false;
        if (temlplelables != null ? !temlplelables.equals(that.temlplelables) : that.temlplelables != null)
            return false;
        if (status != null ? !status.equals(that.status) : that.status != null) return false;
        if (xh != null ? !xh.equals(that.xh) : that.xh != null) return false;
        if (standard != null ? !standard.equals(that.standard) : that.standard != null) return false;
        if (pageflag != null ? !pageflag.equals(that.pageflag) : that.pageflag != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id != null ? id.hashCode() : 0;
        result = 31 * result + (formId != null ? formId.hashCode() : 0);
        result = 31 * result + (name != null ? name.hashCode() : 0);
        result = 31 * result + (active != null ? active.hashCode() : 0);
        result = 31 * result + (createTime != null ? createTime.hashCode() : 0);
        result = 31 * result + (temlplesql != null ? temlplesql.hashCode() : 0);
        result = 31 * result + (temlplelables != null ? temlplelables.hashCode() : 0);
        result = 31 * result + (status != null ? status.hashCode() : 0);
        result = 31 * result + (xh != null ? xh.hashCode() : 0);
        result = 31 * result + (standard != null ? standard.hashCode() : 0);
        result = 31 * result + (pageflag != null ? pageflag.hashCode() : 0);
        return result;
    }

    @Basic
    @Column(name = "STYTLE", nullable = true, insertable = true, updatable = true, precision = 0)
    public Long getStytle() {
        return stytle;
    }

    public void setStytle(Long stytle) {
        this.stytle = stytle;
    }

    @Basic
    @Column(name = "THCONF", nullable = true, insertable = true, updatable = true, length = 128)
    public String getThconf() {
        return thconf;
    }

    public void setThconf(String thconf) {
        this.thconf = thconf;
    }

    @Basic
    @Column(name = "THCOLCONF", nullable = true, insertable = true, updatable = true, length = 128)
    public String getThcolconf() {
        return thcolconf;
    }

    public void setThcolconf(String thcolconf) {
        this.thcolconf = thcolconf;
    }
}
